package com.hulk.dryad.admin.api.base;


import cn.hutool.core.date.DatePattern;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

/**
 * @author hulk
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Accessors(chain = true)
public  class Resp extends Base {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "平台流水号", required = true)
    private String workId;

    @ApiModelProperty(value = "响应时间", required = true)
    private String respTime = DateTimeFormatter.ofPattern(DatePattern.PURE_DATETIME_PATTERN).format(LocalDateTime.now());
}
